import 'package:backend.purchases/infrastructure/dtos/api/api_money_amount_dto.dart';
import 'package:backend.purchases/infrastructure/dtos/api/api_time_dto.dart';

const kApiWebTransactionIdKey = 'id';
const kApiWebTransactionAmountKey = 'amount';
const kApiWebTransactionTimeKey = 'time';
const kApiWebTransactionPaymentSystemKey = 'payment_system';

abstract class ApiWebTransactionDto {
  String get id;

  ApiMoneyAmountDto get amountDto;

  ApiTimeDto get timeDto;

  String get paymentSystem;

  Map<String, dynamic> toJson();
}
